|
In statistics, McNemar's test is a statistical test used on paired nominal data. It is applied to 2 × 2 contingency tables with a dichotomous trait, with matched pairs of subjects, to determine whether the row and column marginal frequencies are equal (that is, whether there is "marginal homogeneity"). It is named after Quinn McNemar, who introduced it in 1947. An application of the test in genetics is the transmission disequilibrium test for detecting linkage disequilibrium. ==Definition== The test is applied to a 2 × 2 contingency table, which tabulates the outcomes of two tests on a sample of ''n'' subjects, as follows. The null hypothesis of marginal homogeneity states that the two marginal probabilities for each outcome are the same, i.e. ''p''''a'' + ''p''''b'' = ''p''''a'' + ''p''''c'' and ''p''''c'' + ''p''''d'' = ''p''''b'' + ''p''''d''. Thus the null and alternative hypotheses are〔 : Here ''p''''a'', etc., denote the theoretical probability of occurrences in cells with the corresponding label. The McNemar test statistic is: : Under the null hypothesis, with a sufficiently large number of discordants (cells b and c), has a chi-squared distribution with 1 degree of freedom. If the result is significant, this provides sufficient evidence to reject the null hypothesis, in favour of the alternative hypothesis that ''pb'' ≠ ''pc'', which would mean that the marginal proportions are significantly different from each other. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「McNemar's test」の詳細全文を読む スポンサード リンク
|